
#ifndef _CPERSON_H_
#define _CPERSON_H_

#include "CCommand.h"
#include <string>

using namespace std;


class CPerson
{
    public:
        string myName;
        CCommand myCommand;
    
    public:
        CPerson(string theName, CCommand theCommand): myCommand(theCommand)
        {
            myName = theName;
        }
        virtual ~CPerson();
    
    public:
        void talk();
        void passOn();
        void gossip();
        void listen();
};

#endif /* _CPERSON_H_ */
